﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace _3dtext1
{
    public partial class MainPage : PhoneApplicationPage
    {
        private TextSpace _textSpace;

        // Constructor
        public MainPage()
        {
            InitializeComponent();
            _textSpace = new TextSpace();
           LayoutRoot.Children.Insert(0, _textSpace);

            Cover.MouseLeftButtonDown += new MouseButtonEventHandler(Cover_MouseLeftButtonDown);
        }

        void Cover_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            LayoutRoot.Children.Remove(Cover);
            _textSpace.Start();
        }
      

    }
}